﻿using System;
using ExtraClub.Domain;
using System.Collections.Generic;
using ExtraClub.Domain.Entities;
using ExtraClub.Domain.Framework;

namespace ExtraClub.Web.Controls.clients {
    public partial class module : BaseUserControl {
        protected Club SelectedClub = null;
        protected override void OnLoad(EventArgs e){
            base.OnLoad(e);

            if (Request.QueryString.Count > 0 && Request.QueryString["clubid"] != null) {
                SelectedClub = Club.FetchByID(int.Parse(Request.QueryString["clubid"]));
            }

            ResisterJSFile("assets/js/grid.js");

        }
    }
}
